package com.nygym.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 会员卡类型对象 vip_card_type
 * 
 * @author XJKloveNy
 * @date 2022-11-28
 */
public class VipCardType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 会员卡类型 */
    @Excel(name = "会员卡类型")
    private String cardName;

    /** 有效天数 */
    @Excel(name = "有效天数")
    private Long cardDay;

    /** 会员卡价格 */
    @Excel(name = "会员卡价格")
    private Long cardMoney;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCardName(String cardName) 
    {
        this.cardName = cardName;
    }

    public String getCardName() 
    {
        return cardName;
    }
    public void setCardDay(Long cardDay) 
    {
        this.cardDay = cardDay;
    }

    public Long getCardDay() 
    {
        return cardDay;
    }
    public void setCardMoney(Long cardMoney) 
    {
        this.cardMoney = cardMoney;
    }

    public Long getCardMoney() 
    {
        return cardMoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cardName", getCardName())
            .append("cardDay", getCardDay())
            .append("cardMoney", getCardMoney())
            .toString();
    }
}
